﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.EditViewModelExtensions
{
    public class PedidoJolitexEditViewModel : JolitexEditViewModel<Pedido>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Pedido model)
        {
            yield return new TextBoxField("Pedido Jolitex", "codigoJolitex", model.PedidoJolitex.Codigo);
        }
    }
}